import os
import configparser

config_path = os.path.abspath(os.path.dirname(os.path.dirname(__file__)) + r'\configs\token.ini')

conf = configparser.ConfigParser()
conf.read(config_path, encoding='utf-8-sig')
Environ0 = conf.get('Environ', 'environ')
env = conf.get('Environ', 'env')

items = conf.items('token')
num_test_token = items[0][0]
num2_test_token = items[1][0]

test_token = conf.get('token', 'test_token')
test2_token = conf.get('token', 'test2_token')
